package com.luotf.ccu.neo4j.entity;

import lombok.Builder;
import lombok.Data;
import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;

@Node("Follower")
@Data
@Builder
public class Dizi {

    @Id
    @Property(name="id")
    Long id;

    @Property(name = "name")
    private String name;

//    @Relationship(type="属于",direction = Relationship.OUTGOING)
//    private List<RelationShip> diziGraphy;
}

